﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Site.Master" AutoEventWireup="true"
    CodeBehind="ChargeCardPay.aspx.cs" Inherits="FortuneHeaven.Web.Pages.Charge.ChargeCardPay" %>

<%@ Register Src="~/Controls/LoginPanel.ascx" TagName="login" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="Stylesheet" type="text/css" href="<%=Page.ResolveClientUrl("~/Content/CSS/public.css")%>" />
    <link rel="Stylesheet" type="text/css" href="<%=Page.ResolveClientUrl("~/Content/CSS/charge.css")%>" />
    <style type="text/css">
        .butcss
        {
            background-color: #F65801;
            background-image: url("<%=Page.ResolveClientUrl("~/Content/Image/Main/netcharge.jpg")%>");
            background-repeat: no-repeat;
            background-position: 0 -292px;
            color: #FFFFFF;
            display: block;
            font-size: 12px;
            height: 25px;
            line-height: 25px;
            margin: 3px auto;
            text-align: center;
            text-decoration: none;
            width: 70px;
        }
           .imgsize
        {
            margin-left: 10px;
        }
        .subggg
        {
            background-color: #F7FAFC;
    border: 1px solid #B8CAD6;
    margin-top:2px;
    margin-bottom:2px;
            }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="main">
        <div class="mleft">
            <uc:login ID="uclogin" runat="server"></uc:login>
            <div class="czlc">
                <p>
                    充值流程</p>
                <ul>
                    <li style="line-height: 40px;">
                        <img style="width: 142px; margin: 0px auto;" src="../../Content/Image/Main/charge1.jpg" /></li>
                    <li>
                        <img src="../../Content/Image/Main/cbg-14.jpg"></li>
                    <li style="line-height: 40px;">
                        <img style="width: 142px; margin: 0px auto;" src="../../Content/Image/Main/charge2.jpg" /></li>
                    <li>
                        <img src="../../Content/Image/Main/cbg-14.jpg"></li>
                    <li style="line-height: 40px;">
                        <img style="width: 142px; margin: 0px auto;" src="../../Content/Image/Main/charge3.jpg" /></li>
                    <li>
                        <img src="../../Content/Image/Main/cbg-14.jpg"></li>
                    <li style="line-height: 40px;">
                        <img style="width: 142px; margin: 0px auto;" src="../../Content/Image/Main/charge4.jpg" /></li>
                </ul>
            </div>
        </div>
        <div class="mright">
            <div class="mtitle weight">
                充值中心</div>
            <div class="mjgt">
                <p>
                    <img src="../../Content/Image/Main/cion.jpg">使用G币在游戏商城购买促销物品可获赠金币，或者在游戏中获得。
                </p>
                <h1>
                    一卡通充值</h1>
            </div>
            <div class="payfs">
                <div class="top">
                    请填写充值信息</div>
                <div class="body" style="margin: 0px auto">
                    <table class="body" >
                    <tr>
                    <td>
                    <img src="../../Content/Image/Common/libao.jpg" />
                    </td>
                    <td>
                    <table>
                        <tr>
                            <td>
                                用户名：
                            </td>
                            <td>
                                <asp:TextBox ID="txtUser" CssClass="subggg" runat="server" MaxLength="20"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rvUser"  ControlToValidate="txtUser" ValidationGroup="Rec" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                再输入用户名：
                            </td>
                            <td>
                                <asp:TextBox ID="txtDUser" CssClass="subggg" MaxLength="20" runat="server" ></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfDUser" ControlToValidate="txtDUser" ValidationGroup="Rec" Display="Dynamic" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
                                
                                <asp:CompareValidator ID="cvDUser" ControlToValidate="txtDUser"  ControlToCompare="txtUser" runat="server" ValidationGroup="Rec"  ErrorMessage="两次输入用户名要相同"></asp:CompareValidator>
                                
                                
                            </td>
                        </tr>
                         <tr>
                            <td>
                                充值卡号：
                            </td>
                            <td>
                                <asp:TextBox ID="txtCode" CssClass="subggg" runat="server" MaxLength="15" ></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rvCode" runat="server" ControlToValidate = "txtCode"  ValidationGroup="Rec" ErrorMessage="必填"></asp:RequiredFieldValidator>
                                
                                
                            </td>
                        </tr>
                                                 <tr>
                            <td>
                                充值卡密码：
                            </td>
                            <td>
                                <asp:TextBox ID="txtPwd" CssClass="subggg" runat="server"
                                    MaxLength="15" TextMode="Password" size="22" ></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rvPwd" runat="server" ControlToValidate = "txtPwd"  ValidationGroup="Rec" ErrorMessage="必填"></asp:RequiredFieldValidator>
                                
                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                验证码：
                            </td>
                            <td>
                                <asp:TextBox CssClass="subggg" ID="txtValidate" runat="server" MaxLength="6"></asp:TextBox>
                                <asp:RequiredFieldValidator
                                    ID="rvValidate" runat="server" Display="Dynamic" ControlToValidate="txtValidate" ValidationGroup="Rec" ErrorMessage="必填"></asp:RequiredFieldValidator>
                                
                                <img
                                    style="border-width: 0px; cursor: pointer;" class="imgsize" src="<%=ResolveUrl("~/ValidationCode.ashx")%>?charge=1"
                                    onclick="this.src='<%=ResolveUrl("~/ValidationCode.ashx")%>?charge=1&n='+ Math.random();"
                                    class="validecode" title="点击刷新验证码。" id="ctl00_ContentPlaceHolder1_PassCode">
                            </td>
                        </tr>
                    </table>
                     </td>
                    </tr>
                    </table>
                    <div style="text-align: center; margin:30px 0px;">
                        <asp:LinkButton ID="btnLogin" runat="server" CssClass="butcss"  ValidationGroup="Rec" OnClick="ChargeValue">充值</asp:LinkButton>
                    </div>
                </div>
                <div class="bot">
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
